package dbLayer;

import java.util.ArrayList;

import modelLayer.*;

public interface IFDBCustomer {

	public ArrayList<Customer> getAllCustomer(boolean retriveAssociation);
	public Customer findCustomer(int id, boolean retriveAssociation);
	public Customer searchCustomer(String name, boolean retriveAssociation);
	
	public int insert(Customer customer) throws Exception;
	public int update(Customer customer);
	public int delete(int id);
}
